<?php
/**
 * 小程序
 */
namespace app\index\controller\applets;
use think\Request;
use app\index\controller\applets\AppletsBase;
use app\index\validate\applets\IndexValidate;
use app\index\model\Applets;

class Index extends AppletsBase{


    public function __construct() {


    }

    /**
     * 小程序列表
     * @return [array]         [数组]
     */
	public function miniapplist(Request $input){

		$miniApp=[
			['appId'=>'202410281411','appName'=>'抖音','logo'=>'https://picx.zhimg.com/v2-78bc4b879ee63f0e21b690d54a77c59b_720w.jpg?source=172ae18b','path'=>'pages/index/index','window_width'=>400,'window_height'=>600],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://inews.gtimg.com/om_bt/Oymp2sBdMKfLXjczjvHumqwpL2-ADa6-bPua3rIpDuDmgAA/641','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202411261101','appName'=>'文件移动','logo'=>'http://gips0.baidu.com/it/u=1690853528,2506870245&fm=3028&app=3028&f=JPEG&fmt=auto?w=1024&h=1024','path'=>'pages/index/index','window_width'=>400,'window_height'=>600],
			['appId'=>'202410281412','appName'=>'账号管理','logo'=>'http://gips1.baidu.com/it/u=1410005327,4082018016&fm=3028&app=3028&f=JPEG&fmt=auto?w=960&h=1280','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'二维码','logo'=>'https://img0.baidu.com/it/u=2347588193,804022467&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500','path'=>'pages/index/index'],
			['appId'=>'202410281411','appName'=>'md5加密','logo'=>'https://img0.baidu.com/it/u=1655814356,2043135163&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=310','path'=>'pages/index/index'],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281411','appName'=>'抖音','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281411','appName'=>'抖音','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281411','appName'=>'抖音','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281411','appName'=>'抖音','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281411','appName'=>'抖音','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281411','appName'=>'抖音','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281411','appName'=>'抖音','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281411','appName'=>'抖音','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281411','appName'=>'抖音','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281411','appName'=>'抖音','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281412','appName'=>'美团','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
			['appId'=>'202410281413','appName'=>'京东','logo'=>'https://img.alicdn.com/tfs/TB1Ly5oS3HqK1RjSZFPXXcwapXa-238-54.png','path'=>'pages/index/index'],
		];
		$result=Applets::queryMiniProgramList();
		return $this->return_msg($result);
	}







}
